import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'               //引入vuex组件
import FastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'  //轮播图插件
import 'swiper/dist/css/swiper.css'			//轮播图插件css
import VueLazyload from 'vue-lazyload'

Vue.config.productionTip = false

import 'common/stylus/index.styl'

FastClick.attach(document.body)

Vue.use(VueAwesomeSwiper,)           //引入轮播图插件
Vue.use(VueLazyload, {
  loading: require('common/image/default.png')
})

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
